package com.zmn.oms.model.entity.report;

import com.zmn.oms.model.entity.work.OrderBaseEsQuery;
import com.zmn.oms.model.es.ZmnEsFieldType;
import com.zmn.oms.model.es.ZmnToEs;
import lombok.Data;

import java.util.List;

/**
 * 类描述:
 *
 * @author mujunlin
 * @date 2019/05/06 11:36
 */
@Data
public class EsComplainReportQuery extends OrderBaseEsQuery {

    /**
     * 公司ID
     */
    @ZmnToEs(map = "companyId", type = ZmnEsFieldType.Integer)
    private Integer companyId;

    /**
     * 城市ID
     */
    @ZmnToEs(map = "cityId", type = ZmnEsFieldType.Arr)
    private List<Integer> cityId;

    /**
     * 商家渠道
     */
    @ZmnToEs(map = "channelId", type = ZmnEsFieldType.Arr)
    private List<Integer> channelId;

    /**
     * 时间
     */
    @ZmnToEs(map = "receiveTime", type = ZmnEsFieldType.Date)
    private String queryTime;

    /**
     * 是否重复的工单 1 no 2 yes
     */
    @ZmnToEs(map = "isDuplicate", type = ZmnEsFieldType.Boolean)
    private Integer duplicate;

    /**
     * 工单类型
     */
    @ZmnToEs(map = "type", type = ZmnEsFieldType.Integer)
    private Integer type;

}
